package com.paypal.android.b;

import android.content.Context;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;
import com.paypal.android.a.q;
import com.paypal.android.a.r;

public final class g extends LinearLayout
{
  private TextView a;
  private TextView b;

  public g(Context paramContext, r paramr1, r paramr2)
  {
    super(paramContext);
    setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.5F));
    setBackgroundColor(0);
    this.a = q.a(paramr1, paramContext);
    this.a.setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.4F));
    this.a.setPadding(2, 2, 2, 2);
    this.a.setBackgroundColor(0);
    this.a.setVisibility(8);
    this.b = q.a(paramr2, paramContext);
    this.b.setGravity(5);
    this.b.setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.6F));
    this.b.setPadding(2, 2, 2, 2);
    this.b.setBackgroundColor(0);
    this.b.setVisibility(8);
    addView(this.a);
    addView(this.b);
  }

  public g(Context paramContext, r paramr1, r paramr2, float paramFloat1, float paramFloat2)
  {
    super(paramContext);
    setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.5F));
    setBackgroundColor(0);
    this.a = q.a(paramr1, paramContext);
    this.a.setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.5F));
    this.a.setPadding(2, 2, 2, 2);
    this.a.setBackgroundColor(0);
    this.a.setVisibility(8);
    this.b = q.a(paramr2, paramContext);
    this.b.setGravity(5);
    this.b.setLayoutParams(new LinearLayout.LayoutParams(-1, -2, 0.5F));
    this.b.setPadding(2, 2, 2, 2);
    this.b.setBackgroundColor(0);
    this.b.setVisibility(8);
    addView(this.a);
    addView(this.b);
  }

  public final void a(int paramInt)
  {
    this.a.setTextColor(paramInt);
  }

  public final void a(String paramString)
  {
    this.a.setVisibility(8);
    if ((paramString != null) && (paramString.length() > 0))
    {
      this.a.setText(paramString);
      this.a.setVisibility(0);
    }
  }

  public final void b(int paramInt)
  {
    this.b.setTextColor(paramInt);
  }

  public final void b(String paramString)
  {
    this.b.setVisibility(8);
    if ((paramString != null) && (paramString.length() > 0))
    {
      this.b.setText(paramString);
      this.b.setVisibility(0);
    }
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.paypal.android.b.g
 * JD-Core Version:    0.6.2
 */